Skip to content

chore: librarian generate pull request: 20260305T181227Z#16036

Merged
parthea merged 1 commit intomainfrom
librarian-20260305T181227Z
Mar 5, 2026
Merged

chore: librarian generate pull request: 20260305T181227Z#16036
parthea merged 1 commit intomainfrom
librarian-20260305T181227Z

Conversation

@parthea
Copy link
Contributor

@parthea parthea commented Mar 5, 2026

PR created by the Librarian CLI to generate Cloud Client Libraries code from protos.

BEGIN_COMMIT

BEGIN_NESTED_COMMIT
feat: Update Compute Engine v1beta API to revision 20260213

PiperOrigin-RevId:
Library-IDs: google-cloud-compute-v1beta
Source-link: googleapis/googleapis@581439b1
END_NESTED_COMMIT

END_COMMIT

This pull request is generated with proto changes between
googleapis/googleapis@69bf99a9
(exclusive) and
googleapis/googleapis@581439b1
(inclusive).

Librarian Version: v0.7.0
Language Image: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:160860d189ff1c2f7515638478823712fa5b243e27ccc33a2728669fa1e2ed0c

Closes #16033

@parthea parthea requested review from a team as code owners March 5, 2026 18:14
@snippet-bot
Copy link

snippet-bot bot commented Mar 5, 2026

Here is the summary of changes.

You are about to add 13 region tags.

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request updates the google-cloud-compute-v1beta client library to a newer revision of the Compute Engine v1beta API. The primary focus of this update is to introduce new capabilities for managing snapshot groups and named sets within routers, alongside new methods for configuring accelerator topologies for instance group managers. Additionally, several new data types have been integrated to support these expanded functionalities, and existing method descriptions have been clarified.

Highlights

  • New Service: SnapshotGroups: Introduced a new service client for SnapshotGroups in the Compute Engine v1beta API, enabling operations like creating, deleting, retrieving, listing, and managing IAM policies for snapshot groups.
  • Instance Group Managers Enhancements: Added new methods configure_accelerator_topologies_unary and configure_accelerator_topologies to the InstanceGroupManagersClient, allowing for updates to accelerator topologies configuration.
  • Router Named Set Management: Expanded RoutersClient functionality with new methods for managing named sets, including delete_named_set, get_named_set, list_named_sets, patch_named_set, and update_named_set.
  • API Type Additions: Incorporated several new API types such as BackendBackendOrchestrationInfo, BackendServiceOrchestrationInfo, ConfigureAcceleratorTopologiesInstanceGroupManagerRequest, NamedSet, ReservationParams, SnapshotGroup, and related types, enhancing the data models available in the Compute Engine v1beta API.
  • Documentation and Sample Updates: Updated service documentation to include the new SnapshotGroups service and added new sample code snippets for the newly introduced InstanceGroupManagers and Routers methods, as well as for all SnapshotGroups operations.
  • Disk Update Docstring Refinement: Refined the docstrings for update_unary and update methods in both DisksClient and RegionDisksClient to remove specific limitations on modifiable fields, providing a more general description of update operations.
  • Reservation Sub Block Path Template Updates: Modified the URI path templates for ReservationSubBlocks methods (get, get_iam_policy, list, perform_maintenance, report_faulty, set_iam_policy, test_iam_permissions) to include a more specific resource path format.
Changelog
  • .librarian/state.yaml
    • Updated the last_generated_commit for the google-cloud-compute-v1beta library to reflect the latest API revision.
  • packages/google-cloud-compute-v1beta/docs/compute_v1beta/services_.rst
    • Added snapshot_groups to the list of services in the documentation.
  • packages/google-cloud-compute-v1beta/docs/compute_v1beta/snapshot_groups.rst
    • Added new reStructuredText documentation for the SnapshotGroups service, including automodule directives for its services and pagers.
  • packages/google-cloud-compute-v1beta/google/cloud/compute_v1beta/init.py
    • Imported SnapshotGroupsClient into the main package initialization.
    • Added numerous new types related to backend orchestration, accelerator topologies, named sets, snapshot groups, and reservation parameters to the package's __all__ export list.
  • packages/google-cloud-compute-v1beta/google/cloud/compute_v1beta/gapic_metadata.json
    • Added metadata for the new ConfigureAcceleratorTopologies RPC under InstanceGroupManagers.
    • Added metadata for new DeleteNamedSet, GetNamedSet, ListNamedSets, PatchNamedSet, and UpdateNamedSet RPCs under Routers.
    • Introduced a new SnapshotGroups service entry with RPCs for Delete, Get, GetIamPolicy, Insert, List, SetIamPolicy, and TestIamPermissions.
  • packages/google-cloud-compute-v1beta/google/cloud/compute_v1beta/services/disks/client.py
    • Updated the docstrings for update_unary and update methods to remove the explicit mention of 'user_license' as the only modifiable field, making the description more general.
  • packages/google-cloud-compute-v1beta/google/cloud/compute_v1beta/services/instance_group_managers/client.py
    • Added configure_accelerator_topologies_unary and configure_accelerator_topologies methods to handle accelerator topology configuration updates for instance group managers.
  • packages/google-cloud-compute-v1beta/google/cloud/compute_v1beta/services/instance_group_managers/transports/base.py
    • Included configure_accelerator_topologies in the list of wrapped methods and properties for the base transport.
  • packages/google-cloud-compute-v1beta/google/cloud/compute_v1beta/services/instance_group_managers/transports/rest.py
    • Implemented pre_configure_accelerator_topologies, post_configure_accelerator_topologies, and post_configure_accelerator_topologies_with_metadata interceptors for the REST transport.
    • Added the _ConfigureAcceleratorTopologies class to handle HTTP calls for configuring accelerator topologies.
  • packages/google-cloud-compute-v1beta/google/cloud/compute_v1beta/services/instance_group_managers/transports/rest_base.py
    • Created _BaseConfigureAcceleratorTopologies class to define the base REST transport for the configure_accelerator_topologies method.
  • packages/google-cloud-compute-v1beta/google/cloud/compute_v1beta/services/region_disks/client.py
    • Updated the docstrings for update_unary and update methods to remove the explicit mention of 'user_license' as the only modifiable field, making the description more general.
  • packages/google-cloud-compute-v1beta/google/cloud/compute_v1beta/services/reservation_sub_blocks/transports/rest_base.py
    • Modified URI path templates for get, get_iam_policy, list, perform_maintenance, report_faulty, set_iam_policy, and test_iam_permissions to include a more specific parent resource format for reservation sub-blocks.
  • packages/google-cloud-compute-v1beta/google/cloud/compute_v1beta/services/routers/pagers.py
    • Added ListNamedSetsPager to facilitate iteration through list_named_sets requests.
  • packages/google-cloud-compute-v1beta/google/cloud/compute_v1beta/services/routers/transports/base.py
    • Included delete_named_set, get_named_set, list_named_sets, patch_named_set, and update_named_set in the list of wrapped methods and properties for the base transport.
  • packages/google-cloud-compute-v1beta/google/cloud/compute_v1beta/services/routers/transports/rest_base.py
    • Created _BaseDeleteNamedSet, _BaseGetNamedSet, _BaseListNamedSets, _BasePatchNamedSet, and _BaseUpdateNamedSet classes to define base REST transports for named set operations.
  • packages/google-cloud-compute-v1beta/google/cloud/compute_v1beta/services/snapshot_groups/init.py
    • Initialized the SnapshotGroupsClient within the service package.
  • packages/google-cloud-compute-v1beta/google/cloud/compute_v1beta/services/snapshot_groups/client.py
    • Added a new SnapshotGroupsClient with methods for delete, get, get_iam_policy, insert, list, set_iam_policy, and test_iam_permissions.
  • packages/google-cloud-compute-v1beta/google/cloud/compute_v1beta/services/snapshot_groups/pagers.py
    • Added ListPager for the SnapshotGroups service to handle paginated list responses.
  • packages/google-cloud-compute-v1beta/google/cloud/compute_v1beta/services/snapshot_groups/transports/README.rst
    • Added a README file detailing the transport inheritance structure for SnapshotGroups.
  • packages/google-cloud-compute-v1beta/google/cloud/compute_v1beta/services/snapshot_groups/transports/init.py
    • Initialized the transports for the SnapshotGroups service, including SnapshotGroupsRestTransport and SnapshotGroupsRestInterceptor.
  • packages/google-cloud-compute-v1beta/google/cloud/compute_v1beta/services/snapshot_groups/transports/base.py
    • Created the abstract base transport class SnapshotGroupsTransport with properties for all SnapshotGroups RPCs.
  • packages/google-cloud-compute-v1beta/google/cloud/compute_v1beta/services/snapshot_groups/transports/rest.py
    • Implemented the SnapshotGroupsRestTransport for synchronous REST operations, including interceptors for all SnapshotGroups RPCs.
  • packages/google-cloud-compute-v1beta/google/cloud/compute_v1beta/services/snapshot_groups/transports/rest_base.py
    • Created the _BaseSnapshotGroupsRestTransport class to define the base REST transport for the SnapshotGroups service, including base classes for all its RPCs.
  • packages/google-cloud-compute-v1beta/samples/generated_samples/compute_v1beta_generated_instance_group_managers_configure_accelerator_topologies_sync.py
    • Added a new sample for configure_accelerator_topologies method.
  • packages/google-cloud-compute-v1beta/samples/generated_samples/compute_v1beta_generated_routers_delete_named_set_sync.py
    • Added a new sample for delete_named_set method.
  • packages/google-cloud-compute-v1beta/samples/generated_samples/compute_v1beta_generated_routers_get_named_set_sync.py
    • Added a new sample for get_named_set method.
  • packages/google-cloud-compute-v1beta/samples/generated_samples/compute_v1beta_generated_routers_list_named_sets_sync.py
    • Added a new sample for list_named_sets method.
  • packages/google-cloud-compute-v1beta/samples/generated_samples/compute_v1beta_generated_routers_patch_named_set_sync.py
    • Added a new sample for patch_named_set method.
  • packages/google-cloud-compute-v1beta/samples/generated_samples/compute_v1beta_generated_routers_update_named_set_sync.py
    • Added a new sample for update_named_set method.
  • packages/google-cloud-compute-v1beta/samples/generated_samples/compute_v1beta_generated_snapshot_groups_delete_sync.py
    • Added a new sample for delete method.
  • packages/google-cloud-compute-v1beta/samples/generated_samples/compute_v1beta_generated_snapshot_groups_get_iam_policy_sync.py
    • Added a new sample for get_iam_policy method.
  • packages/google-cloud-compute-v1beta/samples/generated_samples/compute_v1beta_generated_snapshot_groups_get_sync.py
    • Added a new sample for get method.
  • packages/google-cloud-compute-v1beta/samples/generated_samples/compute_v1beta_generated_snapshot_groups_insert_sync.py
    • Added a new sample for insert method.
  • packages/google-cloud-compute-v1beta/samples/generated_samples/compute_v1beta_generated_snapshot_groups_list_sync.py
    • Added a new sample for list method.
  • packages/google-cloud-compute-v1beta/samples/generated_samples/compute_v1beta_generated_snapshot_groups_set_iam_policy_sync.py
    • Added a new sample for set_iam_policy method.
  • packages/google-cloud-compute-v1beta/samples/generated_samples/compute_v1beta_generated_snapshot_groups_test_iam_permissions_sync.py
    • Added a new sample for test_iam_permissions method.
  • packages/google-cloud-compute-v1beta/tests/unit/gapic/compute_v1beta/test_backend_services.py
    • Added orchestration_info field to test requests for insert, patch, and update methods in BackendServices tests.
  • packages/google-cloud-compute-v1beta/tests/unit/gapic/compute_v1beta/test_disks.py
    • Added snapshot_group_parameters to bulk_insert test requests.
    • Added snapshot_group_id and snapshot_group_name to create_snapshot test requests.
  • packages/google-cloud-compute-v1beta/tests/unit/gapic/compute_v1beta/test_region_backend_services.py
    • Added orchestration_info field to test requests for insert, patch, and update methods in RegionBackendServices tests.
  • packages/google-cloud-compute-v1beta/tests/unit/gapic/compute_v1beta/test_region_commitments.py
    • Added params field to Reservation in test requests for insert, update, and update_reservations methods.
  • packages/google-cloud-compute-v1beta/tests/unit/gapic/compute_v1beta/test_region_disks.py
    • Added snapshot_group_parameters to bulk_insert test requests.
    • Added snapshot_group_id and snapshot_group_name to create_snapshot test requests.
  • packages/google-cloud-compute-v1beta/tests/unit/gapic/compute_v1beta/test_region_instances.py
    • Added zones field to LocationPolicy in bulk_insert test requests.
  • packages/google-cloud-compute-v1beta/tests/unit/gapic/compute_v1beta/test_region_snapshots.py
    • Added snapshot_group_id and snapshot_group_name to test requests for get and insert methods.
  • packages/google-cloud-compute-v1beta/tests/unit/gapic/compute_v1beta/test_reservation_sub_blocks.py
    • Updated path parameters in test requests for get, get_iam_policy, list, perform_maintenance, report_faulty, set_iam_policy, and test_iam_permissions to match the new URI path templates.
  • packages/google-cloud-compute-v1beta/tests/unit/gapic/compute_v1beta/test_reservations.py
    • Added params field to Reservation in test requests for insert and update methods.
  • packages/google-cloud-compute-v1beta/tests/unit/gapic/compute_v1beta/test_snapshots.py
    • Added snapshot_group_id and snapshot_group_name to test requests for get and insert methods.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request is an automated update to the Compute Engine v1beta client library, generated by the Librarian tool. It introduces several new features, most notably the SnapshotGroups service, NamedSet functionality for routers, and AcceleratorTopologies configuration for instance group managers. The changes also include various new fields across existing types, documentation updates, and corresponding additions to samples and unit tests. The changes are extensive but appear to be correctly and consistently generated across the entire codebase. My review did not identify any issues or bugs.

@parthea parthea merged commit 4049c9b into main Mar 5, 2026
26 of 27 checks passed
@parthea parthea deleted the librarian-20260305T181227Z branch March 5, 2026 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

librarian failed to generate compute libraries

2 participants